namespace hjc {
	export interface IPlatform {
		authSetting: any;
		token:string;
		isMobile: boolean;
		language: string;
		isZhCN: boolean;
		os: string;
		renderMode: string;
		runtimeType: string;
		isWx: boolean;
		isWeb: boolean;
		isIOS: boolean;
		isAndroid: boolean;
		launch(nexts?: TVisitNext): void;			//启动平台
		//-----第三方功能------
		isAuthorized?(type?: string): boolean;//是否授权		
		forcedAuthTips?(content?: string, title?: string): void;//必须授权提示
		requestAuth?(img?: string, size?: hjc.TGameSize): Promise<any>;//请求授权
		requestLoginInfo?(): Promise<any>;//登录
		requestUserInfo?(...params: any[]): Promise<any>;//用户信息
	}
	export type PlatformClass = { new (): IPlatform; };
	export declare const IPlatform: PlatformClass;
}
declare let platform: hjc.IPlatform;
declare interface Window {
	platform: hjc.IPlatform
}

